<!--#if(canAccess(function)){ /*功能*/ -->
<div class="${style!'layui-input-block'}">
    {{# if (d.top == '1') {}}
    <span class="layui-badge">置顶</span>
    {{#} else {}}
    <span class="layui-badge layui-bg-gray">置顶</span>
    {{#}}}
    <!--#
        var dicts = dict.dictDownQuery(dictType!);

        for(dict in dicts){
        var dictValue = "" + dict.id + "";
     -->
    {{# if (d.tagValue != null && d.tagValue.split(",").indexOf('${dict.value}') != -1) { }}
    <span class="layui-badge">${dict.name}</span>
    {{# } else { }}
    <span class="layui-badge layui-bg-gray">${dict.name}</span>
    {{# } }}
    <!--#}-->
</div>
<!--#}  -->